package com.henghai.zhenxuan.data.api;

import androidx.annotation.NonNull;

import com.hjq.http.config.IRequestApi;
import com.hjq.http.config.IRequestType;
import com.hjq.http.model.BodyType;

public class AdoptionOrderApi implements IRequestApi, IRequestType {
    private String petId;
    private String adoptionQuantity;

    public AdoptionOrderApi(String petId,String adoptionQuantity) {
        this.petId = petId;
        this.adoptionQuantity = adoptionQuantity;
    }

    @NonNull
    @Override
    public String getApi() {
        return "/pet/payOrder/app/createAdoptionOrder";
    }

    @NonNull
    @Override
    public BodyType getBodyType() {
        return BodyType.JSON;
    }
}
